package cn.lk.netty.rpc.service;

import cn.lk.netty.rpc.bean.InfoUser;

import java.util.List;
import java.util.Map;

/**
 * @ClassName InfoUserService
 * @Deseription TODO
 * @Author hu'nan
 * @Date 2020/4/5 13:34
 * @Version 1.0
 **/
public interface InfoUserService {

    List<InfoUser> insertInfoUser(InfoUser infoUser);

    InfoUser getInfoUserById(String id);

    void deleteInfoUserById(String id);

    String getNameById(String id);

    Map<String,InfoUser> getAllUser();
}
